package com.oglvip.test;

import com.oglvip.business.App;
import com.oglvip.business.remote.service.api.StoreAccountService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @auther hanchao
 * @date 2016/11/30 16:23
 */
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,classes = {App.class})
public class ServiceCase {
    @Autowired
    private StoreAccountService storeAccountService;
    @Test
    public void test(){
        System.err.println(storeAccountService.login("15652222294","5f757d6b6d58149e"));
        System.out.println(storeAccountService);
    }
}
